<?
class Content {
	private $id;
	private $type;
	private $title;
	private $author;
	private $body;
	private $date;
	private $tags = array();
	
	public function __construct($id, $type, $title, $author, $body, $date, $tags = NULL) {
		$this->id = $id;
		$this->type = $type;
		$this->title = $title;
		$this->author = $author;
		$this->body = $body;
		$this->date = $date;
		$this->tags = $tags;
	}
	
	public function getId() {
		return $this->id;
	}
	
	public function getType() {
		return $this->type;
	}
	
	public function getTitle() {
		return $this->title;
	}
	
	public function getAuthor() {
		return $this->author;
	}
	
	public function getBody() {
		return $this->body;
	}
	
	public function getDate() {
		return $this->date;
	}
	
	public function getTags() {
		return $this->tags;
	}
	
}
?>